﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using SqlSugar;
namespace WeChatApp.Models
{
    [SugarTable("tb_grade")]
    public class GradeModels
    {
        public GradeModels()
        {

        }/// <summary>
         /// Desc:ID
         /// Default:
         /// Nullable:False
         /// </summary>     
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnName = "ID")]
        public string ID { get; set; }

        /// <summary>
        /// Desc:父级ID
        /// Default:
        /// Nullable:True
        /// </summary>     
        public string PID { get; set; }

        /// <summary>
        /// Desc:分级名称
        /// Default:
        /// Nullable:False
        /// </summary>     
        public string G_NAME { get; set; }

        /// <summary>
        /// Desc:图标地址
        /// Default:
        /// Nullable:False
        /// </summary>     
        public string G_IMG { get; set; }

        /// <summary>
        /// Desc:状态(0:删除,1:正常,2:停用)
        /// Default:
        /// Nullable:False
        /// </summary>     
        public string G_STATUS { get; set; }

        /// <summary>
        /// Desc:下级类型(1:菜单,2:列表)
        /// Default:
        /// Nullable:False
        /// </summary>     
        public string G_TYPE { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:True
        /// </summary>     
        public DateTime? G_CREATETIME { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>     
        public DateTime G_MODIFYTIME { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>     
        public string G_REMARK { get; set; }

        /// <summary>
        /// Desc:序号
        /// Default:
        /// Nullable:True
        /// </summary>     
        public int? G_QUEUE { get; set; }

        /// <summary>
        /// Desc:简称
        /// Default:
        /// Nullable:True
        /// </summary>     
        public string G_BNAME { get; set; }
        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>     
        public string G_UPDATEUSERID { get; set; }
        /// <summary>
        /// Desc:修改人
        /// Default:
        /// Nullable:True
        /// </summary>     
        public string G_UPDATEUSERNAME { get; set; }
    }
}
